Since we no longer only show the close button but the whole window
chrome on hover, change the name of the signal.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/346
return;
this._animateVisible();
- this.emit('show-close-button');
+ this.emit('chrome-visible');
}
_onHideChrome() {
this.actor.add_actor(clone.actor);
- overlay.connect('show-close-button', () => {
+ overlay.connect('chrome-visible', () => {
let focus = global.stage.key_focus;
if (focus == null || this.actor.contains(focus))
clone.actor.grab_key_focus();